package net.dgg.rz.common.dao;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * @class_name: ScBaseInfoDao
 * @package: net.dgg.iboss.sccenter.sc.dao
 * @describe: TODO 查询详情基础信息
 * @author: 黄文娟
 * @creat_date: 2018/4/27
 * @creat_time: 14:29
 **/
@Component
public interface ZzBaseInfoDao {
    //查询基础详情信息
    Map queryScBaseInfo(Map params);


    /**
     * @Title:
     * @Description: TODO 查询相关生产订单
     * @param: scOrderId:生产主订单ID，id：生产子订单ID   ，status:排除退回待分配的订单
     * @return:
     * @throw:
     * @author:黄文娟
     * @creat_date: 2018/5/12 17:57
     **/
    List<Map> queryRelatedOrder(@Param("scOrderId") String scOrderId, @Param("id") String id, @Param("status") String status);


    /**
     * @Title:
     * @Description: TODO 查询退废单操作记录
     * @param:
     * @return:
     * @throw:
     * @author:黄文娟
     * @creat_date: 2018/5/14 16:38
     **/

    List<Map> queryProductFlowOperation(@Param("id") String id);

    /**
     * @Title:
     * @Description: TODO 查询订单产品信息
     * @param:
     * @return:
     * @throw:
     * @author:黄文娟
     * @creat_date: 2018/5/25 13:33
     **/
    List<Map> queryProductInfo(@Param("id") String id);
}
